package com.initialize.common.tool.util;

import org.springframework.stereotype.Component;


/**
 * @program: star-blockchain
 * @description: 短信相关的工具
 * @author: Mr.Jane
 * @create: 2019-09-21 23:57
 **/
@Component
public class ToolUtil {

    /**
     * 手机号打码
     * @param s
     * @return
     */
    public static String fuzzyPhoneNumber(String s) {
        return s.substring(0, 3) +
                "****" +
                s.substring(7, 11);
    }








}